Part Number Hot Search : 
ST72C124 AD779 IRF644 C74VC LM1101N5 P3NA60 B6020 0805C
Product Description
Full Text Search
 

To Download TW2802 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 TW2802/4 multiple video decoder for security applications preliminary data sheet from techwell, inc. information may change without notice disclaimer this document provides technical information for the user. techwell inc. reserves the right to modify the information in this document as necessary. the customer should make sure that they have the most recent data sheet version. techwell inc. holds no responsibility for any errors that may appear in this document. customers should take appropriate action to ensure their use of the products does not infringe upon any patents. techwell inc. respects valid patent rights of third parties and does not infringe upon or assist others to infringe upon such rights.
techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 preliminar y tw2804/TW2802 multip le video decoder table of contents introduction and features ______________3 features___________________________3 applications _______________________3 block diagram _____________________4 pin diagram _______________________5 pin description _____________________5 analog interface pins _______________5 digital data interface pins ___________6 system control pins ________________7 power/ground pins_________________7 functional description _________________8 video input fo rmats ________________8 analog-to-digital converter __________8 sync processing ____________________9 video level adjustment ____________9 horizontal sync processing __________9 vertical sync processing ____________9 color decoding ____________________10 decimation filter _________________10 y/c separation ___________________11 luminance processing ______________12 chrominance processing ____________13 chrominance demodulation_________13 acc (automatic color gain control)__14 chrominance gain, offset and hue adjustment ______________________14 video scaling and cropping _________15 video scaling ____________________15 video cropping __________________18 motion detector ___________________20 sensitivity control ________________20 lvlsens (level sensitivity) ________20 sptsens (spatial sensitivity) _______20 tmpsens (temporal sensitivity) ____ 20 velocity control _________________ 21 mask detection region____________ 22 output format ___________________ 23 itu-r bt.656 format ____________ 23 8-bit itu-r bt.601 format ________ 24 dual itu-r bt.656 format in 54mhz 25 host interface ______________________ 26 serial interface ___________________ 26 parallel interface _________________ 27 interrupt interface ________________ 28 control register __________________ 29 register map____________________ 29 recommended value _____________ 31 register description ______________ 33 parametric information_______________ 71 dc electrical parameters___________ 71 ac electrical parameters___________ 73 package dimension __________________ 75 application information ______________ 77 video input interface ______________ 77 clamping / agc __________________ 77 video output interface ____________ 77 power-up ________________________ 77 application schematic ________________ 78 revision history_____________________ 79
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 3 introduction and features the tw280x includes four high quality ntsc/ pal video decoders, which convert analog composite to digital component ycbcr for security application. the tw280x contains four 10-bit a/d and proprietary digital gain/clamp controllers and utilizes proprietary techniques for separating lumin- ance & chrominance to reduce both cross- luminance and cross-chrominance artifacts. the high performance dual scalers in each channel offer two differently scaled video outputs with 54mhz itu-r bt.656 format for security system design. four built-in motion detectors can also increase the feature of security system. features ? accepts all ntsc (m/n/4.43) / pal (b/d/g/h/i/k/l/m/n/60) standard formats with auto detection ? four 10-bit video cmos analog to digital converters ? adjust video level with proprietary automatic clamp and gain control system ? proprietary architecture for locking to weak, noisy, or unstable signals ? high performance adaptive comb filters for all ntsc/pal standards ? if compensation filter for improvement of color demodulation ? pal delay lines for correcting pal phase errors ? programmable hue, saturation, contrast, brightness and sharpness ? dual high quality horizontal and vertical down scaler for each channel ? four built-in motion detectors for security system ? supports the standard itu-r bt.656 / 8bit itu-r bt.601 format ? supports two differently scaled output mode with 54mhz itu-r bt.656 format ? supports a two-wire serial or parallel interface ? low power consumption ? 128 pqfp package applications security systems device options device name features TW2802 2 channel video decoder tw2804 4 channel video decoder clock generator host interface clk54i hspb hcsb hale hrdb hwrh hdat clk27o irq adc hs1 vs1 fld1 activ1 nvmd1 vd1[7:0] valid1 h/v sync processor color decoder with comb filter h/v scaler vin1b vin1a h/v scaler motion detector mux adc hs2 vs2 fld2 activ2 nvmd2 vd2[7:0] valid2 h/v sync processor color decoder with comb filter h/v scaler vin2b vin2a h/v scaler motion detector mux adc hs3 vs3 fld3 activ3 nvmd3 vd3[7:0] valid3 h/v sync processor color decoder with comb filter h/v scaler vin3b vin3a h/v scaler motion detector mux adc hs4 vs4 fld4 activ4 nvmd4 vd4[7:0] valid4 h/v sync processor color decoder with comb filter h/v scaler vin4b vin4a h/v scaler motion detector mux
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 4 block diagram clock generator host interface clk54i hspb hcsb hale hrdb hwrh hdat clk27o irq adc hs1 vs1 fld1 activ1 nvmd1 vd1[7:0] valid1 h/v sync processor color decoder with comb filter h/v scaler vin1b vin1a h/v scaler motion detector mux adc hs2 vs2 fld2 activ2 nvmd2 vd2[7:0] valid2 h/v sync processor color decoder with comb filter h/v scaler vin2b vin2a h/v scaler motion detector mux adc hs3 vs3 fld3 activ3 nvmd3 vd3[7:0] valid3 h/v sync processor color decoder with comb filter h/v scaler vin3b vin3a h/v scaler motion detector mux adc hs4 vs4 fld4 activ4 nvmd4 vd4[7:0] valid4 h/v sync processor color decoder with comb filter h/v scaler vin4b vin4a h/v scaler motion detector mux
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 5 pin diagram tw280x (128qfp) 1test 2rstb 3 vss 4nvmd1 5fld1 6 vddo 7 vs1 8hs1 9vdd 10 active1 11 valid1 12 vss 13 vd1[7] 14 vd1[6] 15 vss 16 vd1[5] 17 vd1[4] 18 vss 19 vd1[3] 20 vd1[2] 21 vdd 22 vd1[1] 23 vd1[0] 24 vddo 25 nvmd2 26 fld2 27 vss 28 vs2 29 hs2 30 vss 31 active2 32 valid2 33 vdd 102 vdd 101 hdat[0] 100 hdat[1] 99 vss 98 hdat[2] 97 hdat[3] 96 vss 95 hdat[4] 94 hdat[5] 93 vss 92 hdat[6] 91 hdat[7] 90 vdd 89 clk54i 88 clk27o 87 vss 86 vd4[0] 85 vd4[1] 84 vddo 83 vd4[2] 82 vd4[3] 81 vss 80 vd4[4] 79 vd4[5] 78 vss 77 vd4[6] 76 vd4[7] 75 vss 74 valid4 73 active4 72 vdd 71 hs4 70 vs4 69 vss 68 fld4 39 vss 40 vd2[3] 41 vd2[2] 42 vss 43 vd2[1] 44 vd2[0] 45 vddo 46 nvmd3 47 fld3 48 vdd 49 vs3 50 hs3 51 vss 52 active3 53 valid3 54 vss 55 vd3[7] 56 vd3[6] 57 vss 58 vd3[5] 59 vd3[4] 60 vdd 61 vd3[3] 62 vd3[2] 63 vss 64 vd3[1] 128 vssad 127 vdda 126 vin4b 125 vin4a 124 vssa 123 vssa 122 vin3b 121 vin3a 120 vdda 119 vdda 118 vin2b 117 vin2a 116 vssa 115 vssa 114 vin1b 113 vin1a 112 vdda 111 vddad 110 hspb 109 hcsb 108 vss 107 hale 106 hrdb 105 vddo 104 hwrb 103 irq 34 vd2[7] 35 vd2[6] 36 vss 37 vd2[5] 38 vd2[4] 67 nvmd4 66 vddo 65 vd3[0] 3 vss 6 vddo 9vdd 12 vss 15 vss 18 vss 21 vdd 24 vddo 27 vss 30 vss 33 vdd 39 vss 42 vss 45 vddo 36 vss 48 vdd 3 vss 6 vddo 9 vdd 12 vss 15 vss 18 vss 21 vdd 24 vddo 27 vss 30 vss 33 vdd 39 vss 42 vss 45 vddo 36 vss analog pin (4 adc) pin description analog interface pins name number type description vin1a 113 a composite video input a of channel 1. must be connected through 2.2uf cap to input. vin1b 114 a composite video input b of channel 1. must be connected through 2.2uf cap to input. vin2a 117 a composite video input a of channel 2. must be connected through 2.2uf cap to input. vin2b 118 a composite video input b of channel 2. must be connected through 2.2uf cap to input. vin3a 121 a composite video input a of channel 3. must be connected through 2.2uf cap to input. vin3b 122 a composite video input b of channel 3. must be connected through 2.2uf cap to input. vin4a 125 a composite video input a of channel 4. must be connected through 2.2uf cap to input. vin4b 126 a composite video input b of channel 4. must be connected through 2.2uf cap to input.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 6 digital data interface pins name number type description vd1 [7:0] 13,14,16,17, 19,20,22,23 o dual scaled video data output for channel 1. vd2 [7:0] 34,35,37,38, 40,41,43,44 o dual scaled video data output for channel 2. vd3 [7:0] * 55,56,58,59, 61,62,64,65 o dual scaled video data output for channel 3. vd4 [7:0] * 76,77,79,80, 82,83,85,86 o dual scaled video data output for channel 4. valid1 11 o valid data indicator for channel 1. valid2 32 o valid data indicator for channel 2. valid3* 53 o valid data indicator for channel 3. valid4* 74 o valid data indicator for channel 4. hs1 8 o horizontal sync output for channel 1. hs2 29 o horizontal sync output for channel 2. hs3* 50 o horizontal sync output for channel 3. hs4* 71 o horizontal sync output for channel 4. vs1 7 o vertical sync output for channel 1. vs2 28 o vertical sync output for channel 2. vs3* 49 o vertical sync output for channel 3. vs4* 70 o vertical sync output for channel 4. fld1 5 o even/odd field flag output for channel 1. fld2 26 o even/odd field flag output for channel 2. fld3* 47 o even/odd field flag output for channel 3. fld4* 68 o even/odd field flag output for channel 4. active1 10 o active flag output for channel 1. active2 31 o active flag output for channel 2. active3* 52 o active flag output for channel 3. active4* 73 o active flag output for channel 4. nvmd1 4 o video loss or motion detection flag for channel 1. nvmd2 25 o video loss or motion detection flag for channel 2. nvmd3* 46 o video loss or motion detection flag for channel 3. nvmd4* 67 o video loss or motion detection flag for channel 4. notes: * disabled for TW2802
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 7 system control pins name number type description rstb 2 i system reset. clk54i 89 i 54mhz system clock input. clk27o 88 o 27mhz clock output. test 1 i test pin. connect to ground. hspb 110 i select serial/parallel host interface. hcsb 109 i chip select for parallel interface. slaver address [0] for serial interface. hale 107 i address line enable for parallel interface. serial clock for serial interface. hrdb 106 i read enable for parallel interface. ground for serial interface. hwrb 104 i write enable for parallel interface. ground for serial interface. hdat [7:0] 91,92,94,95, 97,98,100,101 i/o data bus for parallel interface. hdat [7] is serial data for serial interface. hdat [6:1] is slaver address [6:1] for serial interface. hcsb is slaver address [0]. irq 103 o interrupt request by video loss and motion detection power/ground pins name number type description vdd 9,21,33,48,60, 72,90,102 p digital power for internal logic. 2.5v. vddo 6,24,45, 66,84,105 p digital power for output driver. 3.3v. vss 3,12,15,18, 27, 30,36,39,42,51, 54,57,63,69,75, 78,81,87,93,96, 99,108 g digital ground. vdda 112,119,120,127 p analog power. 2.5v. vssa 115,116,123,124 g analog ground. vddad 111 p analog digital power. 2.5v. vssad 128 g analog digital ground.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 8 functional description video input formats the tw280x supports all ntsc/pal standard formats and has built-in automatic standard detection circuit. the following table 1 shows the identified standards. automatic standard detection can be overridden by writing the value into the ifmtman and iformat register (0x01, 0x41, 0x81, 0xc1). even in no-video status, the device can be forced to free-run in a particular video standard mode for fast locking by programming iformat register. table 1 input video format supported format line/fv (hz) fh (khz) fsc (mhz) ntsc-m* ntsc-j 525/59.94 15.734 3.579545 ntsc-4.43* 525/59.94 15.734 4.43361875 ntsc-n 625/50 15.625 3.579545 pal-bdghi pal-n* 625/50 15.625 4.43361875 pal-m* 525/59.94 15.734 3.57561149 pal-nc 625/50 15.625 3.58205625 pal-60 525/59.94 15.734 4.43361875 notes: * 7.5 ire setup analog-to-digital converter the tw280x contains four 10-bit analog to digital converters that digitizes the analog video inputs. as the inputs are digitized at greater than two times that of the nyquist sampling rate, only simple external anti-aliasing lpf are needed to prevent out-of-band frequencies. each adc has two analog switches that are controlled by ana_sw (0x22, 0x62, 0xa2, 0xe2) registers. the a/d converters can also be put into power-down mode by the adc_pwdn (0x78) registers.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 9 sync processing the sync processor of tw280x detects horizontal synchronization and vertical synchronization signals in the composite. the tw280x utilizes proprietary technology for locking to weak, noisy, or unstable signals such as those from on air signal and fast forward or backward of vcr system. video level adjustment a patented digital gain and clamp control circuit restores the ac coupled video signal to a fixed dc level. the clamping circuit provides line-by-line restoration of the video pedestal level to a fixed dc reference voltage. in no agc mode, the gain control circuit adjusts only the video sync gain to achieve desired sync amplitude so that the active video is bypassed regardless of the gain control. but when agc mode is enabled, both active video and sync are adjusted by the gain control. the range of agc is from ?6db to 18db approximately. horizontal sync processing the horizontal synchronization processing contains a sync separator, a pll and the related decision logic. the horizontal sync separator detects the horizontal sync by examining low-pass filtered video input whose level is lower than a threshold. additional logic is also used to avoid false detection on glitches. the horizontal pll locks onto the extracted horizontal sync in all conditions to provide jitter free image output. in case the horizontal sync is missing, the pll is on free running status that matches the standard raster frequency. vertical sync processing the vertical sync separator detects the vertical synchronization pattern in the input video signals. the field status is determined at vertical synchronization time. when the location of the detected vertical sync is inline with a horizontal sync, it indicates a frame start or the odd field start. otherwise, it indicates an even field.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 10 color decoding decimation filter the digitized composite video data at 2x pixel clock rate first passes through decimation filter. the decimation filter is required to achieve optimum performance and prevent high frequency components from being aliased back into the video image. fig 1 shows the characteristic of the decimation filter. 0 2 4 6 8 10 12 x 10 6 -60 -50 -40 -30 -20 -10 0 frequency (hertz) magnitude response (db) fig 1 the characteristic of the decimation filter
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 11 y/c separation the adaptive comb filter is used for high quality luminance/chrominance separation from ntsc/pal composite video signals. the comb filter improves the luminance resolution and reduces noise such as cross-luminance and cross-color. the adaptive algorithm eliminates most of errors without introducing new artifacts or noise. to accommodate some viewing preferences, additional chrominance trap filters are also available in the luminance path. fig. 2 and fig 3 show the frequency response of notch filter for each system ntsc and pal. 0 1 2 3 4 5 6 x 10 6 -60 -50 -40 -30 -20 -10 0 frequency (hertz) magnitude response (db) fig. 2 the characteristics of luminance notch filter for ntsc 0 1 2 3 4 5 6 x 10 6 -60 -50 -40 -30 -20 -10 0 frequency (hertz) magnitude response (db) fig 3 the characteristics of luminance notch filter for pal
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 12 luminance processing the luminance signal is separated by adaptive comb or trap filter is then fed to a peaking circuit. the peaking filter enhances the high frequency components of the luminance signal. fig. 4 shows the characteristics of the peaking filter for four different gain modes. the picture contrast and brightness adjustment is provided through cont (0x11, 0x51, 0x91, 0xd1) and brt (0x12, 0x52, 0x92, 0xd2) registers. the contrast adjustment range is from approximately 0 to 200 percent, and the brightness adjustment is in the range of 25 ire. moreover, a high frequency coring function is also embedded in tw280x to minimize a high frequency noise. the coring level is adjustable through the y_h_core (0xf8) register. 0 1 2 3 4 5 6 x 10 6 0 1 2 3 4 5 6 frequency (hertz) manitude response (db) fig. 4. the characteristic of luminance peaking filter
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 13 chrominance processing chrominance demodulation the chrominance demodulation is done by first quadrature mixing for ntsc and pal. the mixing frequency is equal to the sub-carrier frequency of ntsc and pal. after the mixing, a lpf is used to remove 2x carrier signal and yield chrominance components. the lpf characteristic can be selected for optimized transient color performance. in case of a mistuned if source, if compensation filter makes up for any attenuation at higher frequencies or asymmetry around the color sub-carrier. the gain for the upper chrominance side band is controlled by ifcmp_md (0x13, 0x53, 0x93, 0xd3) register. fig. 5 and fig. 6 show the frequency response of if-compensation filter and chrominance lpf. 1.5 2 2.5 3 3.5 4 4.5 5 5.5 x 10 6 -15 -10 -5 0 5 10 frequency (hertz) magnitude response (db) fig. 5 the characteristics of if-compensation filter
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 14 0 0.5 1 1.5 2 2.5 3 3.5 4 x 10 6 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 frequency (hertz) magnitude response (db) fig. 6 the characteristics of chrominance low pass filter acc (automatic color gain control) the acc (automatic color gain control) compensates for reduced amplitudes caused by high frequency suppression in video signal. the range of acc is from ?6db to 30db approximately. for black & white video or very weak & noisy sign als, the color will be off by the internal color killing circuit. the color killer function can also be always enabled or disabled by programming ckil (0x14, 0x54, 0x94, 0xd4) register. chrominance gain, offset and hue adjustment the color saturation can be adjusted by changing the register sat (0x10, 0x50, 0x90, 0xd0). the cb and cr gain can be also adjusted independently by programming ugain (0x3c) and vgain (0x3d) register. likewise, the cb and cr offset can be programmed through u_off (0x3e) and v_off (0x3f) registers. hue control is achieved with phase shift of the digitally controlled oscillator. the phase shift can be programmed through hue (0x0f, 0x4f, 0x8f, 0xcf) register.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 15 video scaling and cropping the tw280x provides two methods to reduce the amount of video pixel data, scaling and cropping. the scaling function provides video image at lower resolution while the cropping function supplies only a portion of the video image. video scaling the tw280x includes a high quality horizontal and vertical down scaler. the video images can be downscaled in both horizontal and vertical direction to an arbitrary size. the luminance horizontal scaler includes an anti-aliasing filter to reduce image artifacts in the resized image and a 32 poly-phase filter to accurately interpolate the value of a pixel. this results in more aesthetically pleasing video as well as higher compression ratios in bandwidth-limited applications. fig 7 shows the frequency response of anti-aliasing filter for horizontal scaling and fig 8 shows the 32 poly-phase filter characteristics. similarly, the vertical scaler also contains an anti-aliasing filter and 16 poly-phase filter for down scaling. the filter characteristics are shown in fig. 9. 0 1 2 3 4 5 6 x 10 6 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 frequency (hertz) magnitude response (db) fig 7 the characteristics of anti-aliasing filter for horizontal luminance scaling
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 16 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 x 10 6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 frequency (hertz) magnitude response (db) fig 8 the characteristics of group delay for horizontal luminance scaling 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 -40 -35 -30 -25 -20 -15 -10 -5 0 vertical frequency/line rate magnitude response (db) fig. 9 the characteristics of anti-aliasi ng filter for vertical luminance scaling
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 17 down scaling is achieved by programming the horizontal scaling register (hscale) and vertical scaling register (vscale). when no scaled video image, the tw280x will output the number of pixels per line as specified by the hactive regist er. if the number of output pixels required is smaller than the number specified by the hactiv e register, the 16bit hscale register is used to reduce the output pixels to the desired number. following equation is used to determine the horizontal scaling ratio to be written into the 16bit hscale register. hscale = [n pixel_desired / hactive] * (2^16 ? 1) where n pixel_desired is the desired number of active pixels per line for example, to scale full picture (hactive is 720) to cif (360 pixels), the hscale value can be found as: hscale = [320/720] * (2^16 ? 1) = 0x7fff following equation is used to determine the vertical scaling ratio to be written into the 16bit vscale register. vscale = [n line_desired / vactive] * (2^16 - 1) where n line_desired is the desired number of active lines per field for example, to scale full picture (vactive is 240or288) to cif (120/144 lines), the vscale value can be found as: vscale = [120 / 240] * (2^16 ? 1) = 0x7fff for 60hz vscale = [144 / 288] * (2^16 ? 1) = 0x7fff for 50hz the scaling ratios of popular case are listed in table 2 table 2 hscale and vscale value for some popular video formats scaling ratio format output resolution hscale vscale 1 ntsc pal 720x480 720x576 0xffff 0xffff 0xffff 0xffff 1/2 (cif) ntsc pal 360x240 360x288 0x7fff 0x7fff 0x7fff 0x7fff 1/4 (qcif) ntsc pal 180x120 180x144 0x3fff 0x3fff 0x3fff 0x3fff
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 18 video cropping the cropping function allows only subsection of a video image to be output. the active video region is determined by hdelay, hactive, vdelay and vactive register as illustrated in fig 10. the first active line is defined by the vdelay register and the first active pixel is defined by the hdelay register. the vactive register can be programmed to define the number of active lines in a video field, and the hactive register can be programmed to define the number of active pixels in a video line. the horizontal delay register hdelay determines the number of pixel delays between the horizontal reference and the leading edge of the active region. the horizontal active register hactive determines the number of active pixels to be processed. note that these values are referenced to the pixel number before scaling. therefore, even if the scaling ratio is changed, the active video region used for scaling remains unchanged as set by the hdealy and hactive register. in order for the cropping to work properly, the following equation should be satisfied. hdelay + hactive < total number of pixels per line where the total number of pixels per line is 858 for 60hz and 864 for 50hz to process full size region, the hdelay should be set to 32 and hactive set to 720 for both 60hz and 50hz system. the vertical delay register (vdelay) determines the number of line delays from the vertical reference to the start of the active video lines. the vertical active register (vactive) determines the number of lines to be processed. these values are referenced to the incoming scan lines before the vertical scaling. in order for the vertical cropping to work properly, the following equation should be satisfied. vdelay + vactive < total number of lines per field where the total number of lines per field is 262 for 60hz and 312 for 50hz to process full size region, the vdelay should be set to 7 and vactive set to 240 for 60hz and the vdelay should be also set to 4 and vactive set to 288 for 50hz.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 19 vdelay vactive hdelay hactive v reference h reference vdelay vactive hdelay hactive v reference h reference vactive * vscale hactive * hscale cropping and scaling fig 10 the effect of cropping and scaling active registers
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 20 motion detector the tw280x supports hardware motion detector for 4 channels individually. the motion detection algorithm built in the tw280x uses difference between two luminance levels of the adjacent two fields. motion is detected for full screen image and each channel has 144(12x12) mask regions, which enable or disable motion detection for that region. the motion detection has several attributes, sensitivity and velocity of motion detector controlled by programming the register. the host takes the result of motion detection via irq or nvmd pin. refer to the host interface for the detail. sensitivity control the motion detector has three sensitivity control parameters. one is level sensitivity control parameter (lvlsens), another is spatial sensitivity control parameter (sptsens), and a third is temporal sensitivity control parameter (tmpsens). the recommended values of sensitivity control parameters for a proper operation are listed in table 3 lvlsens (level sensitivity) in built-in motion detection algorithm, motion is detected when luminance level difference between two fields is greater than the value, which is defined by lvlsens. the smaller lvlsens value makes the motion detector sense more sensitively, and the larger is the opposite. when lvlsens is too small, the motion detector can be weak in noise. sptsens (spatial sensitivity) motion detection from only luminance level difference between two fields is very weak in spatial random noise. to remove the fake motion detection from the random noise, spatial filter is used. sptsens adjusts the window size of the spatial filter to control the spatial sensitivity so that the large sptsens value increases the im munity of spatial random noise. tmpsens (temporal sensitivity) likewise, temporal filter is used to remove the fake motion detection from the temporal random noise. tmpsens regulates the number of taps in the temporal filter to control the temporal sensitivity so that the large tmpsens value incr eases the immunity of temporal random noise.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 21 table 3 the recommended values of sensitivity parameters for a proper operation lvlsens tmpsens sptsens more sensitive less sensitive 0 7 ~ 10 1 3 ~ 9 2 2 ~ 8 0 3 2 ~ 7 0 3 ~ 9 1 2 ~ 8 2 2 ~ 7 1 3 2 ~ 6 0 3 ~ 8 1 2 ~ 7 2 1 ~ 6 2 3 1 ~ 5 0 3 ~ 7 1 1 ~ 6 2 1 ~ 5 3 3 1 ~ 4 velocity control motion has various velocities. that is, in a fast motion an object appears and disappears rapidly between the adjacent fields while in a slow motion it is to the contrary. as the built-in motion detection algorithm uses the luminance level difference between two adjacent fields, a slow motion is inferior in detection rate to a fa st motion. to compensate this weakness, the mdperiod parameter is used. mdperiod parameter adjusts the field interval in which the luminance level is compared. thus, for detection of a fast motion a small value is needed and for a slow motion a large value is required. the parameter mdperiod value should be greater than tmpsens value.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 22 mask detection region the motion in the specific area can be ignored by the control of mask area. the full screen image is divided into 144 (12x12) mask areas. if the mask bit in specific area is programmed into high, the specific area is ignored in operati on of motion detector, as illustrated in fig. 11. but for proper operation, more than 4 mask areas should be enabled in any case. m ask1[0] m ask1[1] m ask1[2] m ask1[3] m ask1[4] mask1[5] m ask1[6] m ask1[7] m ask1[8] m ask1[9] m ask1[10] m ask1[11] m ask2[0] m ask2[11] m ask3[0] m ask3[11] m ask4[0] m ask4[11] m ask5[0] m ask5[11] m ask6[0] m ask6[11] m ask7[0] m ask7[11] m ask8[0] m ask8[11] m ask9[0] m ask9[11] m ask10[0] m ask10[11] m ask11[0] m ask11[11] m ask12[0] m ask12[1] m ask12[2] mask12[3] m ask12[4] m ask12[5] m ask12[6] m ask12[7] m ask12[8] m ask12[9] m ask12[10] m ask12[11] 240 li nes for 60h z, 288 li n e s fo r 5 0 h z 720 pi xel s m ask2[1] m ask2[2] m ask2[3] m ask2[4] mask2[5] m ask2[6] m ask2[7] m ask2[8] m ask2[9] m ask2[10] m ask3[1] m ask3[2] m ask3[3] m ask3[4] mask3[5] m ask3[6] m ask3[7] m ask3[8] m ask3[9] m ask3[10] m ask4[1] m ask4[2] m ask4[3] m ask4[4] mask4[5] m ask4[6] m ask4[7] m ask4[8] m ask4[9] m ask4[10] m ask5[1] m ask5[2] m ask5[3] m ask5[4] mask5[5] m ask5[6] m ask5[7] m ask5[8] m ask5[9] m ask5[10] m ask6[1] m ask6[2] m ask6[3] m ask6[4] mask6[5] m ask6[6] m ask6[7] m ask6[8] m ask6[9] m ask6[10] m ask7[1] m ask7[2] m ask7[3] m ask7[4] mask7[5] m ask7[6] m ask7[7] m ask7[8] m ask7[9] m ask7[10] m ask8[1] m ask8[2] m ask8[3] m ask8[4] mask8[5] m ask8[6] m ask8[7] m ask8[8] m ask8[9] m ask8[10] m ask9[1] m ask9[2] m ask9[3] m ask9[4] mask9[5] m ask9[6] m ask9[7] m ask9[8] m ask9[9] m ask9[10] m ask10[1] m ask10[2] mask10[3] m ask10[4] m ask10[5] m ask10[6] m ask10[7] m ask10[8] m ask10[9] m ask10[10] m ask11[1] m ask11[2] mask11[3] m ask11[4] m ask11[5] m ask11[6] m ask11[7] m ask11[8] m ask11[9] m ask11[10] fig. 11 motion detection mask windows
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 23 output format the tw280x supports three 8bit output formats, itu-r bt.656, 8bit itu-r bt.601 and dual itu-r bt.656 with 54mhz data format. the output data is synchronous with rising or falling edge of clk27o for itu-r bt.656 and 8bit itu-r bt.601 format and with rising edge of clk54i for dual itu-r bt.656 with 54mhz format. the polarity of clk27o is controlled by the ck27o_pol register (0x3b). for dual itu-r bt.656 with 54mhz format, two kinds of scaled image are time-multiplexed with 54mhz. the output formats are selected by the out_fmt register (0x22, 0x62, 0xa2, 0xe2). itu-r bt.656 format in itu-r bt.656 format, sav and eav sequences are inserted into the data stream to indicate the active video time. during the blanking time, the ycbcr outputs have a value 0x00 for y, cr and cb. it is noted that the number of active pixels per line is constant in this mode regardless of the actual incoming line length. if scaling is used, the number of active pixels per line is constant with invalid pixel indicated by the blank ing code 0x00. the output timing is illustrated in fig. 12. the sav and eav sequences are shown in table 4. an optional set of 656 sav/eav code sequence can be enabled to identify no-video status using the novid_656 bit (0x22, 0x62, 0xa2, 0xe2). clk27o vd[7:0] cb0 y0 cr0 00h 00h 00h 00h ffh 00h 00h 00h 00h xy ffh xy y1 hacive eav code sav code valid 00h 00h 00h 00h fig. 12 timing diagram of itu-r bt.656 format on hscale = 16?h7fff table 4 itu-r 656 sav and eav code sequence condition 656 fvh value sav/eav code sequence fourth field vertical horizontal f v h first second third normal option (novideo) even blank eav 1 1 1 0xff 0x00 0x00 0xf1 0x71 even blank sav 1 1 0 0xff 0x00 0x00 0xec 0x6c even active eav 1 0 1 0xff 0x00 0x00 0xda 0x5a even active sav 1 0 0 0xff 0x00 0x00 0xc7 0x47 odd blank eav 0 1 1 0xff 0x00 0x00 0xb6 0x36 odd blank sav 0 1 0 0xff 0x00 0x00 0xab 0x2b odd active eav 0 0 1 0xff 0x00 0x00 0x9d 0x1d odd active sav 0 0 0 0xff 0x00 0x00 0x80 0x00
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 24 8-bit itu-r bt.601 format 8-bit itu-r bt.601 format is 8-bit ycbcr 4:2:2 data stream with additional timing information such as syncs and field flag. the video output timing is illustrated in fig 13 and fig 14. hs vs fld analog input hs vs fld analog input hs vs fld analog input hs analog input vsmode = 0 vsmode = 1 vsmode = 0 vsmode = 1 vs fld vsmode = 0 vsmode = 1 vsmode = 0 vsmode = 1 60hz odd field 60hz even field 50hz odd field 50hz even field digital output digital output digital output digital output fig 13 vertical timing for 60hz / 50hz video
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 25 hs vs fld ti mi ng1 ti mi ng2 ti mi ng1 ti mi ng2 ti mi ng1 ti mi ng2 ti mi n g 1 : 4 0 s y s te m c l ock(54m h z) for the even fi el d w i th v s m o d e = 1 o r o d d fi el d ti mi n g 2 : 1 7 6 0 s y s te m c l o c k (5 4 m h z ) fo r th e e v e n fi el d w i th vsm o d e=0 fig 14 horizontal and vertical timing in video output dual itu-r bt.656 format in 54mhz dual itu-r bt.656 format in 54mhz is very useful to the security applications, which need two independently scaled video images for display and record purpose. in the case of hscale_x = 16?h7fff and hscale_y = 16?hffff, the timing di agram of video output is illustrated in fig 15. clk27o vd[7:0] hacive eav code ffh ffh 00h 00h 00h 00h xy xy 00h 00h ffh ffh 00h 00h 00h 00h xy xy 00h 00h 00h cb0 00h y0 cb0 cr0 y0 y1 cr0 cb2 y1 y2 00h cr2 00h y3 valid clk54i sav code data data : scaled data output for display purpose (x path) : scaled data output for record purpose (y path) fig 15 timing diagram in dual itu-r bt.656 with 54mhz format
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 26 host interface the tw280x provides i2c serial and parallel in terfaces that can be selected by hspb pin. when hspb is low, the parallel interface is selected, the serial interface for high. some of the interface pins serve a dual purpose depending on the working mode. the pins hale and hdat[7] in parallel mode become sclk and sdat pins in serial mode respectively. each interface protocol is shown in the following figure. table 5 pin assignment for serial/parallel interface pin name serial mode parallel mode hspb high low hale sclk aen hrdb not used renb hwrb not used wenb hcsb slave address[0] csb hdat[0] not used pdata[0] hdat[1] slave address[1] pdata[1] hdat[2] slave address[2] pdata[2] hdat[3] slave address[3] pdata[3] hdat[4] slave address[4] pdata[4] hdat[5] slave address[5] pdata[5] hdat[6] slave address[6] pdata[6] hdat[7] sdat pdata[7] serial interface hdat[6:1] and hcsb pins define slave address. therefore, any slave address can be assigned for full flexibility. tw2804 also supports auto in dex increments in write/read mode if the data are in sequential order. msb lsb msb lsb msb lsb start slave address r/wb ack index ack data ack stop sdat sclk fig 16 write mode in serial interface msb lsb msb lsb start slave address r/wb ack index ack stop sdat sclk msb lsb msb lsb start slave address r/wb ack data noack stop ?0? ?1? fig 17 read mode in serial interface
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 27 parallel interface the following figures show the write/read timing chart of parallel interface. the parallel interface supports auto index increment after each byte of data is sent with wenb. therefore, the host can write multiple bytes to the slave without additional address if they are in sequential order. the host completes the transfer cycle with csb which is low to high transition. auto index increment is also supported in read mode. csb wenb renb aen pdata t su (1) t h (1) t su (2) t h (2) t w t h (2) t su (2) t w fig 18 write mode in parallel interface csb wenb renb aen pdata t su (1) t h (1) t d (1) t w t h (2) t su (2) t w t d (2) fig 19 read mode in parallel interface table 6 parallel interface timing parameter parameter symbol min typ max units csb setup until aen active t su (1) 10 ns pdata setup until aen, wenb active t su (2) 10 ns aen, wenb, renb active pulse width t w 40 ns csb hold after wenb, renb inactive t h (1) 60 ns pdata hold after aen, wenb inactive t h (2) 60 ns pdata delay after renb active t d (1) 12 ns pdata delay after renb inactive t d (2) 12 ns
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 28 interrupt interface the tw280x provides the interrupt request function via an irq pin. any video loss detection or motion detection will make the irq pin high until cleared via register irqclr (0x39) by the host. the host processor will read the interrupt status register det_nvmd (0x38) to find out which channel has sensed motion or video loss. writing high to the corresponding bit of the interrupt clear register irqclr (0x39) will clear the interrupt request. each interrupt status bit also has its mask bit (0x3a) to disable the interrupt for that function. this sequence is described in fig 20. the tw280x also provides the video loss detection or motion detection flag of individual channel via nvmd pins. four nvmd pins have respective channel information of motion or video loss so that host takes status informatio n directly by reading these pins. its mode is controlled by nvmdb (0x3b) that is set ?1? for video loss flag and ?0? for motion detection flag. irq pin output no vi deo d etecti on on c hannel 4 0x80 0x00 0x00 0x04 0x02 0x00 0x80 0x04 0x02 moti on d etecti on on c hannel 3 moti on d etecti on on c hannel 2 status register clear register cl ear by h ost c l ear by h ost c l e a r b y h o s t fig 20 timing diagram of interrupt interface
preliminar y tw2804/TW2802 multip le video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 29 control register register map address ch1 ch2 ch3 ch4 mnemonic bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0x00 0x40 0x80 0xc0 vidstat * det_format det_color lock_color lock_gain lock_offset lock_hpll 0x01 0x41 0x81 0xc1 format ifmtman if ormat 0 1 det_nonstd * det_fld60 * 0x02 0x42 0x82 0xc2 agc_pll agc pedest 0 gntime ostime 0x03 0x43 0x83 0xc3 hdelay_x hdelay_x [7:0] 0x04 0x44 0x84 0xc4 hactive_x hactive_x [7:0] 0x05 0x45 0x85 0xc5 hdelay_y hdelay_y [7:0] 0x06 0x46 0x86 0xc6 hactive_y hactive_y [7:0] 0x07 0x47 0x87 0xc7 msb_actv hactive_y [9:8] hdelay_y [9:8] hactive_x [9:8] hdelay_x [9:8] 0x08 0x48 0x88 0xc8 hswidth 0 hswidth 0x09 0x49 0x89 0xc9 vdelay_x vdelay_x [7:0] 0x0a 0x4a 0x8a 0xca vactive_x vactive_x [7:0] 0x0b 0x4b 0x8b 0xcb vdelay_y vdelay_y [7:0] 0x0c 0x4c 0x8c 0xcc vactive_y vactive_y [7:0] 0x0d 0x4d 0x8d 0xcd hpll hpllman hplltime vactve_y [8] vdelay_y [8] vactve_x [8] vdelay_x [8] 0x0e 0x4e 0x8e 0xce syncpol fldmode vsmode fldpol hspol vspol 1 0 0x0f 0x4f 0x8f 0xcf hue hue 0x10 0x50 0x90 0xd0 sat sat 0x11 0x51 0x91 0xd1 cont cont 0x12 0x52 0x92 0xd2 brt brt 0x13 0x53 0x93 0xd3 cfilter if comp clpf accmode apcmode 0x14 0x54 0x94 0xd4 peakckil ypeak_y ypeak_x 0 ckill 0x15 0x55 0x95 0xd5 sclflt vlpf_y vlpf_x hlpf_y hlpf_x 0x16 0x56 0x96 0xd6 trap_x ybwi_x combmd_x 0 0x17 0x57 0x97 0xd7 trap_y ybwi_y combmd_y 0 0x18 0x58 0x98 0xd8 vsclmsb_x vscale_x [15:8] 0x19 0x59 0x99 0xd9 vscllsb_x vscale_x [7:0] 0x1a 0x5a 0x9a 0xda vsclmsb_y vscale_y [15:8] 0x1b 0x5b 0x9b 0xdb vscllsb_y vscale_y [7:0] 0x1c 0x5c 0x9c 0xdc hsclmsb_x hscale_x [15:8] 0x1d 0x5d 0x9d 0xdd hscllsb_x hscale_x [7:0] 0x1e 0x5e 0x9e 0xde hsclmsb_y hscale_y [15:8] 0x1f 0x5f 0x9f 0xdf hscllsb_y hscale_y [7:0] 0x20 0x60 0xa0 0xe0 vsclcon_x 0 vflt_md_x vbw_x paldly_x odd_en_x even_en_x 1 0x21 0x61 0xa1 0xe1 vsclcon_y 0 vflt_md_y vbw_y paldly_y odd_en_y even_en_y 1 0x22 0x62 0xa2 0xe2 outfmt bgnd_en bgnd_colr novid_656 lim_16 sw_reset ana_sw out_fmt 0x23 0x63 0xa3 0xe3 reserved 1 0 0 1 0 0 0 1 0x24 0x64 0xa4 0xe4 sensctl lvlsens tmpsens sptsens 0x25 0x65 0xa5 0xe5 mperiod 0 mdperiod 0x26 0x66 0xa6 0xe6 mdmask1 mdmask1[7:0]
preliminar y tw2804/TW2802 multip le video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 30 address ch1 ch2 ch3 ch4 mnemonic bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0x27 0x67 0xa7 0xe7 mdmask12 mdmask2[11:8] mdmask1[11:8] 0x28 0x68 0xa8 0xe8 mdmask2 mdmask2[7:0] 0x29 0x69 0xa9 0xe9 mdmask3 mdmask3[7:0] 0x2a 0x6a 0xaa 0xea mdmask34 mdmask4[11:8] mdmask3[11:8] 0x2b 0x6b 0xab 0xeb mdmask4 mdmask4[7:0] 0x2c 0x6c 0xac 0xec mdmask5 mdmask5[7:0] 0x2d 0x6d 0xad 0xed mdmask56 mdmask6[11:8] mdmask5[11:8] 0x2e 0x6e 0xae 0xee mdmask6 mdmask6[7:0] 0x2f 0x6f 0xaf 0xef mdmask7 mdmask7[7:0] 0x30 0x70 0xb0 0xf0 mdmask78 mdmask8[11:8] mdmask7[11:8] 0x31 0x71 0xb1 0xf1 mdmask8 mdmask8[7:0] 0x32 0x72 0xb2 0xf2 mdmask9 mdmask9[7:0] 0x33 0x73 0xb3 0xf3 mdmask9a mdmask10[11:8] mdmask9[11:8] 0x34 0x74 0xb4 0xf4 mdmaska mdmask10[7:0] 0x35 0x75 0xb5 0xf5 mdmaskb mdmask11[7:0] 0x36 0x76 0xb6 0xf6 mdmaskbc mdmask12[11:8] mdmask11[11:8] 0x37 0x77 0xb7 0xf7 mdmaskc mdmask12[7:0] 0x38 det_nvmd * det_novid4 det_novid3 det_novid2 det_novid1 det_motion4 det_motion3 det_motion2 det_motion1 0x39 irqclr irqclr 0x3a irqena irqena 0x3b misc oe nvmd active_mode 0 ck27_pol irqpol irqrpt 0x3c u_gain u_gain 0x3d v_gain v_gain 0x3e u_off u_off 0x3f v_off v_off 0x78 adc_pwdn 0 0 0 0 adc_pwdn4 adc_pwdn3 adc_pwdn2 adc_pwdn1 0x79 reserved 0 0 0 0 0 0 0 0 0x7a reserved 0 0 0 0 0 0 0 0 0x7b fldofst 0 0 0 0 0 0 0 0 0x7c reserved 0 0 0 0 0 0 0 0 0x7d reserved 0 0 0 0 0 0 0 0 0xb8 reserved 0 0 0 0 0 0 0 0 0xf8 core hav_valid 0 0 0 c_core y_h_core 0xf9 combcdel 0 cdel 0 fld_656 1 0 0xfa reserved 0 0 1 1 1 1 0 0 0xfb reserved 0 0 1 0 0 0 0 0 0xfc reserved 0 0 0 0 0 0 0 0 0xfd reserved 0 0 0 0 0 0 0 0 notes: * : read only register : modified in tw2804 revc : modified in tw2804 revd
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 31 recommended value address ntsc pal ch1 ch2 ch3 ch4 mnemonic full cif qcif full cif qcif 0x00 0x40 0x80 0xc0 vidstat 8?h00 8?h00 0x01 0x41 0x81 0xc1 format c4 84 0x02 0x42 0x82 0xc2 agc_pll a5 a5 0x03 0x43 0x83 0xc3 hdelay_x 20 20 0x04 0x44 0x84 0xc4 hactive_x d0 d0 0x05 0x45 0x85 0xc5 hdelay_y 20 20 0x06 0x46 0x86 0xc6 hactive_y d0 d0 0x07 0x47 0x87 0xc7 msb_actv 88 88 0x08 0x48 0x88 0xc8 hswidth 20 20 0x09 0x49 0x89 0xc9 vdelay_x 07 04 0x0a 0x4a 0x8a 0xca vactive_x f0 20 0x0b 0x4b 0x8b 0xcb vdelay_y 07 04 0x0c 0x4c 0x8c 0xcc vactive_y f0 20 0x0d 0x4d 0x8d 0xcd hpll 40 4a 0x0e 0x4e 0x8e 0xce syncpol d2 d2 0x0f 0x4f 0x8f 0xcf hue 80 80 0x10 0x50 0x90 0xd0 sat 80 80 0x11 0x51 0x91 0xd1 cont 80 80 0x12 0x52 0x92 0xd2 brt 80 80 0x13 0x53 0x93 0xd3 cfilter 1f 1f 0x14 0x54 0x94 0xd4 peakckil 00 00 30 00 0x15 0x55 0x95 0xd5 sclflt 00 21 33 00 22 33 0x16 0x56 0x96 0xd6 trap_x 00 40 0x17 0x57 0x97 0xd7 trap_y 00 40 0x18 0x58 0x98 0xd8 vsclmsb_x ff 7f 3f ff 7f 3f 0x19 0x59 0x99 0xd9 vscllsb_x ff ff 0x1a 0x5a 0x9a 0xda vsclmsb_y ff ff 0x1b 0x5b 0x9b 0xdb vscllsb_y ff ff 0x1c 0x5c 0x9c 0xdc hsclmsb_x ff 7f 3f ff 7f 3f 0x1d 0x5d 0x9d 0xdd hscllsb_x ff ff 0x1e 0x5e 0x9e 0xde hsclmsb_y ff ff 0x1f 0x5f 0x9f 0xdf hscllsb_y ff ff 0x20 0x60 0xa0 0xe0 vsclcon_x 07 07 67 0f 07 67 0x21 0x61 0xa1 0xe1 vsclcon_y 07 0f 0x22 0x62 0xa2 0xe2 outfmt 00 00 0x23 0x63 0xa3 0xe3 reserved 91 91 0x24 0x64 0xa4 0xe4 sensctl 51 51 0x25 0x65 0xa5 0xe5 mperiod 03 03 0x26 0x66 0xa6 0xe6 mdmskl1 00 00 0x27 0x67 0xa7 0xe7 mdmskm12 00 00 0x28 0x68 0xa8 0xe8 mdmskl2 00 00 0x29 0x69 0xa9 0xe9 mdmskl3 00 00 0x2a 0x6a 0xaa 0xea mdmskm34 00 00 0x2b 0x6b 0xab 0xeb mdmskl4 00 00 0x2c 0x6c 0xac 0xec mdmskl5 00 00 0x2d 0x6d 0xad 0xed mdmskm56 00 00 0x2e 0x6e 0xae 0xee mdmskl6 00 00 0x2f 0x6f 0xaf 0xef mdmskl7 00 00 0x30 0x70 0xb0 0xf0 mdmskm78 00 00 0x31 0x71 0xb1 0xf1 mdmskl8 00 00
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 32 address ntsc pal ch1 ch2 ch3 ch4 mnemonic full cif qcif full cif qcif 0x32 0x72 0xb2 0xf2 mdmskl9 00 00 0x33 0x73 0xb3 0xf3 mdmskm9a 00 00 0x34 0x74 0xb4 0xf4 mdmskla 00 00 0x35 0x75 0xb5 0xf5 mdmsklb 00 00 0x36 0x76 0xb6 0xf6 mdmskmbc 00 00 0x37 0x77 0xb7 0xf7 mdmsklc 00 00 0x38 det_nvmd 00 00 0x39 irqclr 00 00 0x3a irqena ff ff 0x3b misc 84 84 0x3c u_gain 80 80 0x3d v_gain 80 80 0x3e u_off 82 82 0x3f v_off 82 82 0x78 adc_pwdn 00 00 0x79 reserved 00 00 0x7a reserved 00 00 0x7b fldofst 00 00 0x7c reserved 00 00 0x7d reserved 00 00 0xb8 reserved 00 00 0xf8 core 0a 0a 0xf9 combcdel 42 42 0xfa reserved 3c 3c 0xfb reserved 10 10 0xfc reserved 00 00 0xfd reserved 00 00 note : blanks : indicate the same value as full size : modified in tw2804 revc : modified in tw2804 revd
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 33 register description video status flag (read only) ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x00 2 0x40 3 0x80 4 0xc0 det_format det_colo r lock_colo r lock_gain lock_ofst lock_pll det_format status of video standard detection 0 pal-b/d 1 pal-m 2 pal-n 3 pal-60 4 ntsc-m 5 ntsc-4.43 6 ntsc-n det_color status of color detection 0 color is not detected 1 color is detected lock_color status of locking for color demodulation loop 0 color demodulation loop is not locked 1 color demodulation loop is locked lock_gain status of locking for agc loop 0 agc loop is not locked 1 agc loop is locked lock_ofst status of locking for clamping loop 0 claming loop is not locked 1 claming loop is locked lock_pll status of locking for horizontal pll 0 horizontal pll is not locked 1 horizontal pll is locked
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 34 input video format ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x01 2 0x41 3 0x81 4 0xc1 ifmtman iformat 0 1 det_ nonstd * det_ fld60 * notes: * read only register ifmtman setting video standard manually with iformat 0 detect video standard automatically according to incoming video signal (default) 1 video standard is selected with iformat iformat force the device to operate in a particular video standard when ifmtman is high or to free-run in a particular video standard on no-video status when ifmtman is low 0 pal-b/d (default) 1 pal-m 2 pal-n 3 pal-60 4 ntsc-m 5 ntsc-4.43 6 ntsc-n det_nonstd status of non-standard video detection (read only) 0 the incoming video source is standard 1 the incoming video source is non-standard det_fld60 status of field frequency of incoming video (read only) 0 50hz field frequency 1 60hz field frequency
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 35 gain and offset tracking ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x02 2 0x42 3 0x82 4 0xc2 agc pedest 1 0 gntime ostime agc enable the agc 0 disable the agc (default) 1 enable the agc pedest select the 7.5 ire setup level, pedestal to black 0 no pedestal (default) 1 7.5 ire setup level gntime control the time constant of gain tracking loop 0 slower 1 slow (default) 2 fast 3 faster ostime control the time constant of offset tracking loop 0 slower 1 slow (default) 2 fast 3 faster
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 36 horizontal delay control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x07 hdelay[9:8] 1 0x03 hdelay[7:0] 0x47 hdelay[9:8] 2 0x43 hdelay[7:0] 0x87 hdelay[9:8] 3 0x83 hdelay[7:0] 0xc7 hdelay[9:8] 4 0xc3 hdelay[7:0] horizontal delay control for path y ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x07 hdelay[9:8] 1 0x05 hdelay[7:0] 0x47 hdelay[9:8] 2 0x45 hdelay[7:0] 0x87 hdelay[9:8] 3 0x85 hdelay[7:0] 0xc7 hdelay[9:8] 4 0xc5 hdelay[7:0] hdelay this 10-bit register defines the starting location of horizontal active pixel. a unit is 1 pixel. hdelay1 and hdelay2 define the different starting location of horizontal active pixel for dual scaler output. the default value is decimal 32.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 37 horizontal active control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x07 hacitive[9:8] 1 0x04 hactive[7:0] 0x47 hacitive[9:8] 2 0x44 hactive[7:0] 0x87 hacitive[9:8] 3 0x84 hactive[7:0] 0xc7 hacitive[9:8] 4 0xc4 hactive[7:0] horizontal active control for path y ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x07 hactive[9:8] 1 0x06 hactive[7:0] 0x47 hactive[9:8] 2 0x46 hactive[7:0] 0x87 hactive[9:8] 3 0x86 hactive[7:0] 0xc7 hactive[9:8] 4 0xc6 hactive[7:0] hactive this 10-bit register defines the numbe r of horizontal active pixel. a unit is 1 pixel. hactive1 and hactive2 define the different number of horizontal active pixels for dual scaler output. the default value is decimal 720. horizontal sync pulse width control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x08 2 0x48 3 0x88 4 0xc8 0 0 hswidth hswidth this 6bit register defines the width of horizontal sync output. a unit is 1 pixel. the default value is decimal 32
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 38 vertical delay control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x0d vdelay[8] 1 0x09 vdelay[7:0] 0x4d vdelay[8] 2 0x49 vdelay[7:0] 0x8d vdelay[8] 3 0x89 vdelay[7:0] 0xcd vdelay[8] 4 0xc9 vdelay[7:0] vertical delay control for path y ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x0d vdelay[8] 1 0x0b vdelay[7:0] 0x4d vdelay[8] 2 0x4b vdelay[7:0] 0x8d vdelay[8] 3 0x8b vdelay[7:0] 0xcd vdelay[8] 4 0xcb vdelay[7:0] vdelay this 9bit register defines the starti ng location of vertical active. a unit is 1 line. vdelay1 and vdelay2 define the different starting location of vertical active line for dual scaler output. the default value is decimal 6.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 39 vertical active control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x0d vactive[8] 1 0x0a vactive[7:0] 0x4d vactive[8] 2 0x4a vactive[7:0] 0x8d vactive[8] 3 0x8a vactive[7:0] 0xcd vactive[8] 4 0xca vactive[7:0] vertical active control for path y ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x0d vactive[8] 1 0x0c vactive[7:0] 0x4d vactive[8] 2 0x4c vactive[7:0] 0x8d vactive[8] 3 0x8c vactive[7:0] 0xcd vactive[8] 4 0xcc vactive[7:0] vactive this 9bit register defines the number of vertical active lines. a unit is 1 line. vactive1 and vactive2 define the di fferent number of vertical active lines for dual scaler output. the default value is decimal 240.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 40 horizontal pll control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x0d 2 0x4d 3 0x8d 4 0xcd hpllman hplltime hpllman set horizontal pll time constant with hplltime. 0 automatic horizontal tracking mode (default) 1 horizontal pll time consta nt is fixed with hplltime hplltime control the time constant of horizontal pll when hpllman is high 0 slow : : 4 typical (default) : : 7 fast
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 41 sync pulse polarity control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x0e 2 0x4e 3 0x8e 4 0xce fldmode vsmode fldpol hspol vspol 1 0 fldmode select the field flag generation mode 0 field flag is detected from incoming video (default) 1 field flag is generated from small accumulator of detected field 2 field flag is generated from medium accumulator of detected field 3 field flag is generated from large accumulator of detected field vsmode control the vs and field flag timing 0 vs and field flag is aligned with vertical sync of incoming video (default) 1 vs and field flag is aligned with hs fldpol select the fld polarity 0 odd field is high (default) 1 even field is high hspol select the hs polarity 0 low for sync duration (default) 1 high for sync duration vspol select the vs polarity 0 low for sync duration (default) 1 high for sync duration
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 42 hue control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x0f 2 0x4f 3 0x8f 4 0xcf hue hue control the hue information. the resolution is 1.4 / lsb. 0 -180 : : 128 0 (default) : : 255 180 saturation control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x10 2 0x50 3 0x90 4 0xd0 sat sat control the color saturation. the resolution is 0.8% / lsb. 0 0 % : : 128 100 % (default) : : 255 200 %
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 43 contrast control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x11 2 0x51 3 0x91 4 0xd1 cont cont control the contrast. the resolution is 0.8% / lsb. 0 0 % : : 128 100 % (default) : : 255 200 % brightness control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x12 2 0x52 3 0x92 4 0xd2 brt brt control the brightness. the resolution is 0.2ire / lsb. 0 -25 ire : : 128 0 (default) : : 255 25 ire
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 44 color filter control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x13 2 0x53 3 0x93 4 0xd3 ifcomp clpf accmode apcmode ifcomp select the if-compensation filter mode 0 no compensation (default) 1 +1 db/ mhz 2 +2 db/ mhz 3 +3 db/ mhz clpf select the color lpf mode 0 550khz bandwidth 1 750khz bandwidth (default) 2 950khz bandwidth 3 1.1mhz bandwidth accmode control the time constant of auto color control loop 0 slower 1 slow 2 fast 3 faster (default) apcmode control the time constant of auto phase control loop 0 slower 1 slow 2 fast 3 faster (default)
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 45 peaking and color killer control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x14 2 0x54 3 0x94 4 0xd4 ypeak_y ypeak_x 0 0 ckil ypeak_y control the luminance peaking for scaler y path 0 no peaking (default) 1 31.25% 2 62.5% 3 93.75% ypeak_x control the luminance peaking for scaler x path 0 no peaking (default) 1 31.25% 2 62.5% 3 93.75% ckil control the color killing mode 0,1 auto detection mode (default) 2 color is always alive 3 color is always killed
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 46 scaler filter control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x15 2 0x55 3 0x95 4 0xd5 vlpf_y vlpf_x sclflt_y sclflt_x vlpf_y select the vertical anti-aliasing filter mode for vscaler y 0,1 full bandwidth (default) 2 0.25 line-rate bandwidth 3 0.18 line-rate bandwidth vlpf_x select the vertical anti-aliasing filter mode for vscaler x 0,1 full bandwidth (default) 2 0.25 line-rate bandwidth 3 0.18 line-rate bandwidth sclflt_y select the horizontal anti-aliasing filter mode for hscaler y 0 full bandwidth (default) 1 2 mhz bandwidth 2 1.5 mhz bandwidth 3 1 mhz bandwidth sclflt_x select the horizontal anti-aliasing filter mode for hscaler x 0 full bandwidth (default) 1 2 mhz bandwidth 2 1.5 mhz bandwidth 3 1 mhz bandwidth
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 47 trap filter control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x16 2 0x56 3 0x96 4 0xd6 ybwi combmd 0 0 0 0 0 trap filter control for path y ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x17 2 0x57 3 0x97 4 0xd7 ybwi combmd 0 0 0 0 0 ybwi select the luminance trap filter mode 0 narrow bandwidth trap filter mode (default) 1 wide bandwidth trap filter mode combmd select the adaptive comb filter mode 0,1 adaptive comb filter mode (default) 2 force trap filter mode 3 not supported
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 48 vertical scaler ratio control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x18 vscale[15:8] 1 0x19 vscale[7:0] 0x58 vscale[15:8] 2 0x59 vscale[7:0] 0x98 vscale[15:8] 3 0x99 vscale[7:0] 0xd8 vscale[15:8] 4 0xd9 vscale[7:0] vertical scaler ratio control for path y ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x1a vscale[15:8] 1 0x1b vscale[7:0] 0x5a vscale[15:8] 2 0x5b vscale[7:0] 0x9a vscale[15:8] 3 0x9b vscale[7:0] 0xda vscale[15:8] 4 0xdb vscale[7:0] vscale the 16bit register defines a vertical scaling ratio. the actual vertical scaling ratio is vscale[15:0] / (2^16 ? 1). vscale1 and vscale2 define the different vertical scaling ratio for dual scaler. the default value is 16 bit 0xffff.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 49 horizontal scaler ratio control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x1c hscale[15:8] 1 0x1d hscale[7:0] 0x5c hscale[15:8] 2 0x5d hscale[7:0] 0x9c hscale[15:8] 3 0x9d hscale[7:0] 0xdc hscale[15:8] 4 0xdd hscale[7:0] horizontal scaler ratio control for path y ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x1e hscale[15:8] 1 0x1f hscale[7:0] 0x5e hscale[15:8] 2 0x5f hscale[7:0] 0x9e hscale[15:8] 3 0x9f hscale[7:0] 0xde hscale[15:8] 4 0xdf hscale[7:0] hscale the 16-bit register defines a horiz ontal scaling ratio. the actual horizontal scaling ratio is hscale[15:0] / (2^16 ? 1). hscale1 and hscale2 define the different horizontal scaling ratio for dual scaler. the default value is 16 bit 0xffff.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 50 vertical scaler control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x20 2 0x60 3 0xa0 4 0xe0 0 vflt_md vbw paldly odd_en even_en 1 vertical scaler control for path x ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x21 2 0x61 3 0xa1 4 0xe1 0 vflt_md vbw paldly odd_en even_en 1 vflt_md select the vertical scaling filter mode 0 vertical poly-phase filter mode is selected (default) 1 vertical bandwidth control mode is selected with vbw bits vbw control the vertical bandwidth only if vflt_md bit is high 0 wider (default) 1 wide 2 narrow 3 narrower pal_dly select the pal delay line mode 0 normal vertical scaling operation in chroma path (default) 1 pal delay line mode is selected in chroma path odd_en control valid signal in odd field 0 valid signal is always disabled in odd field 1 normal operation (default) even_en control valid signal in even field 0 valid signal is always disabled in even field 1 normal operation (default)
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 51 output formatter ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x22 2 0x62 3 0xa2 4 0xe2 bgnden bgndclr novid_656 lim_16 sw_ reset ana_sw out_fmt bgnden control the background color on/off 0 background color is disabled (default) 1 background color is enabled bgndclr select the background color mode only if bgnden bit is high 0 blue color mode (default) 1 black color mode novid_656 select the optional set of 656 sav/eav code sequence for no-video status 0 normal 656 sav/eav code sequence (default) 1 an optional set of 656 sav/eav code sequence for no-video status lim_16 control the output range 0 output ranges are limited to 2 ~ 254 (default) 1 output ranges are limited to 16 ~ 239 sw_reset reset the system by software except control registers. this bit is self-clearing in a few clocks after enabled 0 normal operation (default) 1 enable soft reset ana_sw control the analog input channel switch 0 vin_a channel is selected (default) 1 vin_b channel is selected out_fmt select the output format 0 itu-r bt.656 format (default) 1 8bit itu-r bt.601 format 2 dual itu-r bt.656 with 54mhz format 3 not supported
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 52 reserved ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x23 2 0x63 3 0xa3 4 0xe3 1 0 0 1 0 0 0 1 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 53 motion detection sensitivity ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x24 2 0x64 3 0xa4 4 0xe4 lvlsens tmpsens sptsens lvlsens control the level sensitivit y of motion detector (default : 3) 0 more sensitive : : 15 less sensitive tmpsens control the temporal sensitiv ity of motion detector (default : 1) 0 more sensitive : : 3 less sensitive sptsens control the spatial sensitivity of motion detector (default : 1) 0 more sensitive : : 3 less sensitive motion detection control ch index [7] [6] [5] [4] [3] [2] [1] [0] 1 0x25 2 0x65 3 0xa5 4 0xe5 0 mdperiod mdperiod control the velocity of motion detector (default : 3) 0 no field interval 1 1 field interval : : 31 31 field interval
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 54 masking motion detection area mask1 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x27 mdmask1[11:8] 1 0x26 mdmask1[7:0] 0x67 mdmask1[11:8] 2 0x66 mdmask1[7:0] 0xa7 mdmask1[11:8] 3 0xa6 mdmask1[7:0] 0xe7 mdmask1[11:8] 4 0xe6 mdmask1[7:0] masking motion detection area mask2 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x27 mdmask2[11:8] 1 0x28 mdmask2[7:0] 0x67 mdmask2[11:8] 2 0x68 mdmask2[7:0] 0xa7 mdmask2[11:8] 3 0xa8 mdmask2[7:0] 0xe7 mdmask2[11:8] 4 0xe8 mdmask2[7:0] masking motion detection area mask3 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x2a mdmask3[11:8] 1 0x29 mdmask3[7:0] 0x6a mdmask3[11:8] 2 0x69 mdmask3[7:0] 0xaa mdmask3[11:8] 3 0xa9 mdmask3[7:0] 0xea mdmask3[11:8] 4 0xe9 mdmask3[7:0]
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 55 masking motion detection area mask4 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x2a mdmask4[11:8] 1 0x2b mdmask4[7:0] 0x6a mdmask4[11:8] 2 0x6b mdmask4[7:0] 0xaa mdmask4[11:8] 3 0xab mdmask4[7:0] 0xea mdmask4[11:8] 4 0xeb mdmask4[7:0] masking motion detection area mask5 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x2d mdmask5[11:8] 1 0x2c mdmask5[7:0] 0x6d mdmask5[11:8] 2 0x6c mdmask5[7:0] 0xad mdmask5[11:8] 3 0xac mdmask5[7:0] 0xed mdmask5[11:8] 4 0xec mdmask5[7:0] masking motion detection area mask6 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x2d mdmask6[11:8] 1 0x2e mdmask6[7:0] 0x6d mdmask6[11:8] 2 0x6e mdmask6[7:0] 0xad mdmask6[11:8] 3 0xae mdmask6[7:0] 0xed mdmask6[11:8] 4 0xee mdmask6[7:0]
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 56 masking motion detection area mask7 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x30 mdmask7[11:8] 1 0x2f mdmask7[7:0] 0x70 mdmask7[11:8] 2 0x6f mdmask7[7:0] 0xb0 mdmask7[11:8] 3 0xaf mdmask7[7:0] 0xf0 mdmask7[11:8] 4 0xef mdmask7[7:0] masking motion detection area mask8 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x30 mdmask8[11:8] 1 0x31 mdmask8[7:0] 0x70 mdmask8[11:8] 2 0x71 mdmask8[7:0] 0xb0 mdmask8[11:8] 3 0xb1 mdmask8[7:0] 0xf0 mdmask8[11:8] 4 0xf1 mdmask8[7:0] masking motion detection area mask9 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x33 mdmask9[11:8] 1 0x32 mdmask9[7:0] 0x73 mdmask9[11:8] 2 0x72 mdmask9[7:0] 0xb3 mdmask9[11:8] 3 0xb2 mdmask9[7:0] 0xf3 mdmask9[11:8] 4 0xf2 mdmask9[7:0]
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 57 masking motion detection area mask10 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x33 mdmask10[11:8] 1 0x34 mdmask10[7:0] 0x73 mdmask10[11:8] 2 0x74 mdmask10[7:0] 0xb3 mdmask10[11:8] 3 0xb4 mdmask10[7:0] 0xf3 mdmask10[11:8] 4 0xf4 mdmask10[7:0] masking motion detection area mask11 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x36 mdmask11[11:8] 1 0x35 mdmask11[7:0] 0x76 mdmask11[11:8] 2 0x75 mdmask11[7:0] 0xb6 mdmask11[11:8] 3 0xb5 mdmask11[7:0] 0xf6 mdmask11[11:8] 4 0xf5 mdmask11[7:0] masking motion detection area mask12 ch index [7] [6] [5] [4] [3] [2] [1] [0] 0x36 mdmask12[11:8] 1 0x37 mdmask12[7:0] 0x76 mdmask12[11:8] 2 0x77 mdmask12[7:0] 0xb6 mdmask12[11:8] 3 0xb7 mdmask12[7:0] 0xf6 mdmask12[11:8] 4 0xf7 mdmask12[7:0] mdmask1~12 select mask area of motion detector . an active region is divided into 12x12 mask areas as illustrated in fig. 11. if the mask bit in specific area is programmed into high, the specific area is ignored in operation of motion detector. but for proper operation, more than 4 mask areas should be enabled in any case. (default : 0x00)
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 58 no video and motion detection flag (read only) index [7] [6] [5] [4] [3] [2] [1] [0] 0x38 det_ novid4 det_ novid3 det_ novid2 det_ novid1 det_ motion4 det_ motion3 det_ motion2 det_ motion1 det_novid4 status for detection of video loss in channel 4 0 video is alive 1 video loss is detected det_novid3 status for detection of video loss in channel 3 0 video is alive 1 video loss is detected det_novid2 status for detection of video loss in channel 2 0 video is alive 1 video loss is detected det_novid1 status for detection of video loss in channel 1 0 video is alive 1 video loss is detected det_motion4 status for detection of motion in channel 4 0 no motion 1 motion is detected det_motion3 status for detection of motion in channel 3 0 no motion 1 motion is detected det_motion2 status for detection of motion in channel 2 0 no motion 1 motion is detected det_motion1 status for detection of motion in channel 1 0 no motion 1 motion is detected
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 59 clear interrupt flag index [7] [6] [5] [4] [3] [2] [1] [0] 0x39 clear_ novid4 clear_ novid3 clear_ novid2 clear_ novid1 clear_ motion4 clear_ motion3 clear_ motion2 clear_ motion1 irqclr setting high to bits clears interrupt requests of corresponding bits. this bit is self-clearing in a few clocks after setting high (default : 0x00) enable interrupt flag index [7] [6] [5] [4] [3] [2] [1] [0] 0x3a en_ novid4 en _ novid3 en_ novid2 en _ novid1 en _ motion4 en_ motion3 en_ motion2 en_ motion1 irqena enable the corresponding (0x38, 0x39) interrupt register bit (default : 0x00)
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 60 miscellaneous control register index [7] [6] [5] [4] [3] [2] [1] [0] 0x3b oe nvmd active_mode[1:0] 0 ck27_pol irqpol irqrpt oe control the tri-state of output pin 0 outputs are tri-state (default) 1 outputs are enabled nvmd select the output mode of nvmd pin 0 video loss flag (default) 1 motion detection flag active_mode select the output mode of active pin 0 hactive (default) 1 vactive 2 horizontal valid pixel indicator 3 vertical valid line indicator ck27_pol select the clk27o polarity 0 itu-r bt.656 data outputs at the rising edge of clk27o (default) 1 itu-r bt.656 data outputs at the falling edge of clk27o irqpol select the irq polarity 0 active high (default) 1 active low irqrpt select the irq mode 0 irq maintains the state until the interrupt request is cleared (default) 1 irq toggles the state at regular intervals until the interrupt request is cleared
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 61 u gain index [7] [6] [5] [4] [3] [2] [1] [0] 0x3c u_gain[7:0] u_gain adjust gain for u (or cb) component. the resolution is 0.8% / lsb. 0 0 % : : 128 100 % (default) : : 255 200 % v gain index [7] [6] [5] [4] [3] [2] [1] [0] 0x3d v_gain[7:0] v_gain adjust gain for v (or cr) component. the resolution is 0.8% / lsb. 0 0 % : : 128 100 % (default) : : 255 200 %
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 62 u offset index [7] [6] [5] [4] [3] [2] [1] [0] 0x3e u_off[7:0] u_off u (or cb) offset adjustment register. the resolution is 0.4% / lsb. 0 -50 % : : 128 0 % (default) : : 255 50 % v offset index [7] [6] [5] [4] [3] [2] [1] [0] 0x3f v_off[7:0] v_off v (or cr) offset adjustment register. the resolution is 0.4% / lsb. 0 -50 % : : 128 0 % (default) : : 255 50 %
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 63 adc power down index [7] [6] [5] [4] [3] [2] [1] [0] 0x78 0 0 0 0 adc_ pwdn4 adc_ pwdn3 adc_ pwdn2 adc_ pwdn1 adc_pwdn4 power down the adc of channel 4 0 normal (default) 1 power down adc_pwdn3 power down the adc of channel 3 0 normal (default) 1 power down adc_pwdn2 power down the adc of channel 2 0 normal (default) 1 power down adc_pwdn1 power down the adc of channel 1 0 normal (default) 1 power down
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 64 reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0x79 0 0 0 0 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register. reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0x7a 0 0 0 0 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 65 field offset control index [7] [6] [5] [4] [3] [2] [1] [0] 0x7b fld_ofst _4y fld_ofst _4x fld_ofst _3y fld_ofst _3x fld_ofst _2y fld_ofst _2x fld_ofst _1y fld_ofst _1x fld_ofst_4y remove the field offset between odd and even for y path of channel 4 0 normal operation (default) 1 remove the field offset between odd and even field fld_ofst_4x remove the field offset between odd and even for x path of channel 4 0 normal operation (default) 1 remove the field offset between odd and even field fld_ofst_3y remove the field offset between odd and even for y path of channel 3 0 normal operation (default) 1 remove the field offset between odd and even field fld_ofst_3x remove the field offset between odd and even for x path of channel 3 0 normal operation (default) 1 remove the field offset between odd and even field fld_ofst_2y remove the field offset between odd and even for y path of channel 2 0 normal operation (default) 1 remove the field offset between odd and even field fld_ofst_2x remove the field offset between odd and even for x path of channel 2 0 normal operation (default) 1 remove the field offset between odd and even field fld_ofst_1y remove the field offset between odd and even for y path of channel 1 0 normal operation (default) 1 remove the field offset between odd and even field fld_ofst_1x remove the field offset between odd and even for x path of channel 1 0 normal operation (default) 1 remove the field offset between odd and even field
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 66 reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0x7c 0 0 0 0 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register. reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0x7d 0 0 0 0 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register. reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0xb8 0 0 0 0 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 67 luma and chroma coring index [7] [6] [5] [4] [3] [2] [1] [0] 0xf8 hav_valid 0 0 0 c_core[1:0] y_h_core[1:0] hav_valid select valid output mode 0 valid data indicator only for active data (default) 1 valid data indicator for both active data and itu-r 656 timing codes c_core coring to reduce the noise in the chrominance 0 no coring 1 coring value is within 128 +/- 1 range 2 coring value is within 128 +/- 2 range (default) 3 coring value is within 128 +/- 4 range y_h_core coring to reduce the high frequency noise in the luminance 0 no coring 1 coring value is within +/- 1 range 2 coring value is within +/- 2 range (default) 3 coring value is within +/- 4 range
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 68 chroma delay and comb filter correlation reference index [7] [6] [5] [4] [3] [2] [1] [0] 0xf9 0 cdel[2:0] 0 fld_656 1 0 cdel adjust the group delay of chrominance path relative to luminance 0 -2.0 pixel 1 -1.5 pixel 2 -1.0 pixel 3 -0.5 pixel 4 0.0 pixel (default) 5 0.5 pixel 6 1.0 pixel 7 1.5 pixel fld_656 control the field polarity mode in itu-r 656 timing codes 0 fixed field polarity according to itu-r 656 format (default) 1 controllable field polarity by fldp ol register (0x0e,0x4e,0x8e,0xce)
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 69 reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0xfa 0 0 1 1 1 1 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register. reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0xfb 0 0 0 1 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 70 reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0xfc 0 0 0 0 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register. reserved index [7] [6] [5] [4] [3] [2] [1] [0] 0xfd 0 0 0 0 0 0 0 0 this control register is reserved for putting the part into test mode. for normal operation, the above value should be set in this register.
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 71 parametric information dc electrical parameters table 7 absolute maximum ratings parameter symbol min typ max units vdda (measured to vssa) vdd am 3.5 v vdd (measured to vss) vdd im 3.5 v vddo (measured to vss) vdd om 4.6 v voltage on any signal pin (see the note below) - vss?0.5 vddo+0.5 v analog input voltage - vssa?0.5 vdda+0.5 v storage temperature t s ? 65 150 c junction temperature t j 0 125 c vapor phase soldering (15 seconds) t vsol 220 c note : long-term exposure to absolute maximum ratings may affect device reliability, and permanent damage may occur if operate exceeding the rating. the device should be operated under recommended operating condition. table 8 recommended operating conditions parameter symbol min typ max units vdda (measured to vssa) vdd a 2.25 2.5 2.75 v vdd (measured to vss) vdd i 2.25 2.5 2.75 v vddo (measured to vss) vdd o 3.0 3.3 3.6 v maximum |vdd i ? vdd a | 0.3 v maximum |vdd o ? vdd a | 1.05 v maximum |vdd o ? vdd i | 1.05 v analog vin amplitude range (ac coupling required) 0.5 1.0 2.0 v ambient operating temperature t a 0 70 c
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 72 table 9 dc characteristics parameter symbol min typ max units digital inputs input high voltage (ttl) v ih 2.0 v input low voltage (ttl) v il 0.8 v input leakage current (@v i =2.5v or 0v) i l 1 ua input capacitance c in 6 pf digital outputs output high voltage v oh 2.4 v output low voltage v ol 0.4 v high level output current (@v oh =2.4v) i oh 5.7 11.6 18.6 ma low level output current (@v ol =0.4v) i ol 4.1 6.7 8.2 ma tri-state output leakage current (@v o =2.5v or 0v) i oz 1 ua output capacitance c o 6 pf analog pin input capacitance c a 6 pf table 10 supply current and power dissipation parameter symbol min typ max units analog supply current (2.5v) i dda 50 ma digital internal supply current (2.5v) i ddi 400 ma digital i/o supply current (3.3v) i ddo 10 ma total power dissipation p 1.16 w
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 73 ac electrical parameters table 11 clock timing parameters parameter symbol min typ max units delay from clk54i to clk27o 1 5 12 ns hold from clk27o to data 2a 16 ns delay from clk27o to data 2b 19 ns hold from clk54i to data 3a 5 ns delay from clk54i to data 3b 12 ns clk54i clk27o data output (27mhz) data output (54mhz) 3a 3b 2b 2a 1 fig 21 clock timing diagram
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 74 table 12.decoder performance parameter parameter symbol min typ max units horizontal pll line frequency (60hz) f h 15.734 khz line frequency (50hz) f h 15.625 khz permissible static deviation ? f h 6 % subcarrier pll subcarrier frequency (ntsc-m) f sc 3.579545 mhz subcarrier frequency (pal-bdghi) f sc 4.433619 mhz subcarrier frequency (pal-m) f sc 3.575612 mhz subcarrier frequency (pal-n) f sc 3.582056 mhz lock in range ? f sc 800 hz agc (auto gain control) range agc -6 18 db acc (auto color gain control) range acc -6 30 db oscillator inpu t nominal frequency f osc 54 mhz permissible frequency deviation ? f osc /f osc 50 ppm duty cycle dt osc 55 %
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 75 package dimension
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 76
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 77 application information video input interface tw2804 has a built-in 2:1 input mux for software controllable input selections. this mux can be used to select two composite video sources. for a typical application, a video input requires an analog low-pass filter for alias reduction. an illustration is shown in the following application schematic. clamping / agc tw2804 has built-in clamping and agc circuitry. the analog inputs must be ac coupled through an external 2.2uf capacitor. without it, no extra external component is needed for this operation. the clamping and agc tracking time constant can be controlled through register setting. video output interface all video data and sync outputs of four channels are synchronous to pin clk27o. therefore, pin clk27o should be connected to four channel interfaces for synchronizing data. power-up after power-up, tw2804 registers have unknown values. the rstb pin must be asserted and released to bring all registers to its default values. after reset, tw2804 data outputs are tri-stated. the oe (0x3b) register should be written after reset to enable outputs desired.
preliminar y tw2804/TW2802 multip le video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 78 application schematic vd2_6 c118 0.1uf l103 10uh fld4 vd1_2 vd2_0 vd3_3 hdat6 c132 0.1uf vs1 c121 0.1uf 128qfp u100 tw2804 13 14 16 17 19 20 22 23 11 8 7 5 10 34 35 37 38 40 41 43 44 32 29 28 26 31 55 56 58 59 61 62 64 65 53 50 49 47 52 76 77 79 80 82 83 85 86 74 71 70 68 73 103 4 25 46 67 88 9 21 33 48 60 72 90 102 6 24 45 66 84 105 120 127 113 114 117 118 121 122 125 126 110 109 107 106 104 91 92 94 95 97 98 100 101 2 89 1 3 12 15 18 27 30 36 39 42 51 54 57 63 69 75 78 81 87 93 96 99 108 123 124 112 119 111 115 116 128 vd1_7 vd1_6 vd1_5 vd1_4 vd1_3 vd1_2 vd1_1 vd1_0 valid1 hs1 vs1 fld1 active1 vd2_7 vd2_6 vd2_5 vd2_4 vd2_3 vd2_2 vd2_1 vd2_0 valid2 hs2 vs2 fld2 active2 vd3_7 vd3_6 vd3_5 vd3_4 vd3_3 vd3_2 vd3_1 vd3_0 valid3 hs3 vs3 fld3 active3 vd4_7 vd4_6 vd4_5 vd4_4 vd4_3 vd4_2 vd4_1 vd4_0 valid4 hs4 vs4 fld4 active4 irq nvmd1 nvmd2 nvmd3 nvmd4 clk27o vdd vdd vdd vdd vdd vdd vdd vdd vddo vddo vddo vddo vddo vddo vdda vdda vin1a vin1b vin2a vin2b vin3a vin3b vin4a vin4b hspb hcsb hale hrdb hwrb hdat_7 hdat_6 hdtv_5 hdat_4 hdat_3 hdat_2 hdat_1 hdat_0 rstb clk54i test vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vss vssa vssa vdda vdda vddad vssa vssa vssad vd4_6 vd3_6 c134 0.1uf vdda hs4 r103 75 valid4 vd4_4 c101 100pf vddo vd3_0 irq hdat1 resetb hs2 vd4[7:0] vd3_7 vd2_2 r113 47k ch3a valid2 + c125 47uf/16v j100 rca jack 1 2 vddo vd4_7 c133 0.1uf digital gnd vd2_7 vd3[7:0] nvmd1 c137 0.1uf dip8 osc100 osc 54mhz 1 4 5 8 nc gnd out vcc c123 0.1uf nvmd4 c117 0.1uf vd4_5 j102 rca jack 1 2 hrdb vd2_4 + c116 47uf/16v r109 75 r106 75 c135 0.1uf c104 100pf ch1a vddo hdat5 c106 47pf vd1[7:0] c115 0.1uf l101 10uh fld2 l104 bead active2 nvmd2 analog gnd hale vd1_0 c136 0.1uf vd2_5 vd1_6 r108 4.7k c129 0.1uf vd3_5 vd3_4 vd4[7:0] c122 0.1uf l102 10uh c102 2.2uf vd1[7:0] r111 4.7k c114 0.1uf vdd c111 2.2uf c100 47pf hwrb vd2[7:0] hs3 r105 4.7k hs1 clk27 vdd vd1_1 vdd3.3v hdat0 c113 0.1uf r101 270 ch4a vdda vd1_7 vd4_3 c103 47pf c120 0.1uf r102 4.7k active4 l105 bead r112 100 c126 0.1uf c124 0.1uf c127 0.1uf r107 270 place near each device power pin(0.1uf cap.) c112 0.1uf j101 rca jack 1 2 c109 47pf vdd2.5v vd4_1 valid3 active3 active1 fld3 vd3_2 vd1_3 hcsb hdat3 l100 10uh vd4_2 hdat4 vd2_3 c108 2.2uf r100 75 c110 100pf hdat[7:0] valid1 r110 270 c107 100pf vs2 vd1_4 vs3 vd3_1 hdat7 vs4 + c131 47uf/16v vd3[7:0] vd4_0 c119 0.1uf hspb nvmd3 ch2a hdat[7:0] to micom vd2[7:0] c128 0.1uf r104 270 vd2_1 j103 rca jack 1 2 vddo c105 2.2uf note : analog gnd and digital gnd plane should be isolated hdat2 l106 bead c130 0.1uf fld1 vd1_5
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 79 revision history table 13 datasheet revision history revision date description product code 0.9 oct / 01 / 2002 engineering release e bahb (eng revb) 1.0 dec / 11 / 2002 (1) update application schematic (p.77) (2) update recommended value of control register map (p.31~32) e bahb (eng revb) 1.1 jan / 29 / 2003 (1) update control register map (read only description is added) (p.29~30, p.33~34, p.58) e bahb (eng revb) 1.2 feb / 04 / 2003 (1) update application schematic (p.77) (2) update recommended value of control register map (p.31~32) e bahb (eng revb) 1.3 feb / 17 / 2003 (1) update control register map (default value is added) (p.34, p.40, p.45, p.47, p.60) (2) update fig.14 (p.25) e bahb (eng revb) 2.0 feb / 19 / 2003 (1) change pin diagram (p.5~7) (2) update application schematic (p.76) e bahc (eng revc) 2.1 apr / 25 / 2003 (1) update fig 4 and fig 9 (p.12, p.16) (2) update table 4 (p.23) (3) update control register map & recommended value (p.29~32, p.35, p.40, p.45~47, p.50~51, p.60, p.63~70) (4) fix fldpol and nvmd mode (p.41, p.60) e bahc (eng revc) 2.2 jul / 21 / 2003 (1) update fig 19 (p.27) e bahc (eng revc) 2.3 aug / 16 / 2003 (1) change digital power(pin 111) and ground pin(pin 128) to analog power and ground pin (p.5 ~ 7) (2) change recommended value of control register 0xfb (p.69) (2) update parallel interface timing diagram (p.27) (3) update application schematic (p.77) e bahd (eng revd) 2.4 sep / 09 / 2003 (1) update supply current and power dissipation information (p.72) (2) update application information (p.76) (3) update application schematic (p.77) e bahd (eng revd) 2.5 nov / 11 / 2003 (1) update fig 12 and fig 15 (p.23, p.25) (2) update control register map (p.65) (3) update decoder performance parameter (p.74) (4) update application schematic (p.78) e bahe (eng reve)
preliminar y tw2804/TW2802 multiple video decoder techwell, inc. www.techwellinc.com datasheet rev. 2.4 09/09/2003 80 table 14. list of revision point in tw2804 revc no. issue tw2804 revb tw2804 revc 1 cross-talk cross-talk between adjacent input channels remove cross-talk by modifying analog circuit and changing analog pin location 2 100% amplitude, 100% saturation color bar pattern clipping the yellow and cyan pattern fixed by adjusting data range 3 contrast range biased toward upper range fixed by adjusting contrast range 4 background color pattern not supported supported with blue and black pattern 5 vertical scaling filter a little aliasing noise is remained rejected perfectly by improving vertical scaling filter 6 irq polarity only active high is supported both active high and low are supported 7 optional itu ?r 656 code set not supported optional no-video and non-valid code set are supported 8 peaking filter common mode in scaling x & y path separate mode in scaling x & y path table 15 list of revision point in tw2804 revd no. issue tw2804 revc tw2804 revd 1 adc linearity not good in adc linearity improve adc linearity table 16 list of revision point in tw2804 reve no. issue tw2804 revd tw2804 reve 1 adc linearity improve adc linearity improve adc linearity more 2 field offset control not supported supports the field offset control for speeding up the field rate in analog switching mode


▲Up To Search▲   

 
Price & Availability of TW2802

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X